aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-unlisted].yaml')
-rw-r--r--tests/cassettes/test_status_post[Content warning-unlisted].yaml26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-unlisted].yaml b/tests/cassettes/test_status_post[Content warning-unlisted].yaml
index c32f337..03c7d5b 100644
--- a/tests/cassettes/test_status_post[Content warning-unlisted].yaml
+++ b/tests/cassettes/test_status_post[Content warning-unlisted].yaml
@@ -12,9 +12,9 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"102317293305724845","created_at":"2019-06-22T21:13:16.008Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 15 body: {string: '{"id":"102945952909572920","created_at":"2019-10-11T21:49:40.296Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
16 warning","visibility":"unlisted","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293305724845","url":"http://localhost/@mastodonpy_test/102317293305724845","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 16 warning","visibility":"unlisted","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945952909572920","url":"http://localhost/@mastodonpy_test/102945952909572920","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2019-10-11T21:49:40.303Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
18 headers: 18 headers:
19 Cache-Control: ['no-cache, no-store'] 19 Cache-Control: ['no-cache, no-store']
20 Content-Type: [application/json; charset=utf-8] 20 Content-Type: [application/json; charset=utf-8]
@@ -25,10 +25,10 @@ interactions:
25 X-Download-Options: [noopen] 25 X-Download-Options: [noopen]
26 X-Frame-Options: [SAMEORIGIN] 26 X-Frame-Options: [SAMEORIGIN]
27 X-Permitted-Cross-Domain-Policies: [none] 27 X-Permitted-Cross-Domain-Policies: [none]
28 X-Request-Id: [5cc00595-fde6-4760-8045-4a08bba805f9] 28 X-Request-Id: [e3b97b7c-56a6-4bcf-9257-2228c39c5731]
29 X-Runtime: ['0.142482'] 29 X-Runtime: ['0.124691']
30 X-XSS-Protection: [1; mode=block] 30 X-XSS-Protection: [1; mode=block]
31 content-length: ['1252'] 31 content-length: ['1296']
32 status: {code: 200, message: OK} 32 status: {code: 200, message: OK}
33- request: 33- request:
34 body: null 34 body: null
@@ -40,11 +40,11 @@ interactions:
40 Content-Length: ['0'] 40 Content-Length: ['0']
41 User-Agent: [python-requests/2.18.4] 41 User-Agent: [python-requests/2.18.4]
42 method: DELETE 42 method: DELETE
43 uri: http://localhost:3000/api/v1/statuses/102317293305724845 43 uri: http://localhost:3000/api/v1/statuses/102945952909572920
44 response: 44 response:
45 body: {string: '{"id":"102317293305724845","created_at":"2019-06-22T21:13:16.008Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 45 body: {string: '{"id":"102945952909572920","created_at":"2019-10-11T21:49:40.296Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
46 warning","visibility":"unlisted","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293305724845","url":"http://localhost/@mastodonpy_test/102317293305724845","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py 46 warning","visibility":"unlisted","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945952909572920","url":"http://localhost/@mastodonpy_test/102945952909572920","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
47 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 47 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2019-10-11T21:49:40.303Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
48 headers: 48 headers:
49 Cache-Control: ['no-cache, no-store'] 49 Cache-Control: ['no-cache, no-store']
50 Content-Type: [application/json; charset=utf-8] 50 Content-Type: [application/json; charset=utf-8]
@@ -55,9 +55,9 @@ interactions:
55 X-Download-Options: [noopen] 55 X-Download-Options: [noopen]
56 X-Frame-Options: [SAMEORIGIN] 56 X-Frame-Options: [SAMEORIGIN]
57 X-Permitted-Cross-Domain-Policies: [none] 57 X-Permitted-Cross-Domain-Policies: [none]
58 X-Request-Id: [43abb3db-9f28-4ee6-847a-18c383b48f28] 58 X-Request-Id: [77fc34c0-ce6b-4271-9ec8-b3b2cb106f74]
59 X-Runtime: ['0.118485'] 59 X-Runtime: ['0.162870']
60 X-XSS-Protection: [1; mode=block] 60 X-XSS-Protection: [1; mode=block]
61 content-length: ['1222'] 61 content-length: ['1266']
62 status: {code: 200, message: OK} 62 status: {code: 200, message: OK}
63version: 1 63version: 1
Powered by cgit v1.2.3 (git 2.41.0)